<div ng-controller="sysmail as mg">
<section class="content-header">
	<h1>
		{{title}}<small></small>
	</h1>
</section>
<section class="content">
	<div class="box box-default">
		<div class="col-md-12">
			<div class="box-body">
				<alertdanger></alertdanger>
				<alertsuccess></alertsuccess>
				<form role="form" >
					<div class="box-body">
						<div class="form-group">
							<label>邮箱</label> <input maxlength="200" required="required" ng-model="email"
								class="form-control" type="text" placeholder="请输入邮箱" value="">
						</div>

						<div class="form-group">
							<label>密码</label> <input maxlength="200" required="required" ng-model="pwd"
													 class="form-control" type="text" placeholder="请输入密码" value="">
						</div>

						<div class="form-group">
							<label>
								<input type="radio" ng-model="type" ng-value="1" class="flat-red" ng-checked="true">
								系统通知邮箱
							</label>
							<label>
								<input type="radio"  ng-model="type" ng-value="2" class="flat-red">
								激活通知邮箱
							</label>

						</div>
						<div class="form-group">
		                    <label>
		                      <input type="radio" ng-model="status" ng-value="1" class="flat-red" ng-checked="true">
		                      启用
		                    </label>
		                    <label>
		                      <input type="radio"  ng-model="status" ng-value="0" class="flat-red">
		                      禁用
		                    </label>
		               
	                  	</div>
					</div>
					<div class="box-footer">
						<button ng-show="savebtn.show"type="button" class="btn btn-primary" ng-click="save();">保存</button>
						<button ng-show="updatebtn.show" type="button" class="btn btn-primary" ng-click="update();">更新</button>
					</div>
				</form>
			</div>
		</div>
		<div class="box-footer"></div>
	</div>
</section>
</div>